package reflect;

import reflect.annotations.AutoRunClass;

public class ReflectDemo7 {
    public static void main(String[] args) throws Exception {
        Class cls=Class.forName("reflect.Person");

        if (cls.isAnnotationPresent(AutoRunClass.class)){
            System.out.println("老子被注解了你心里没点数!");
        }else{
            System.out.println("老子没被注解,你不知道?????");
        }
    }
}
